get video length python

59

get video length python -

from moviepy.editor import VideoFileClip
clip = VideoFileClip("my_video.mp4")
print( clip.duration )

Comments

Submit
0 Comments